﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IconYuan.Model.DTO.Cart
{
    /// <summary>
    /// 添加购物车
    /// </summary>
    public class AddCartDto
    {
        //{"goodsId":10021,"goodsSkuId":"0","goodsNum":1}
        /// <summary>
        /// 商品id
        /// </summary>
        public int goodsId { get; set; }
        /// <summary>
        /// sku id
        /// </summary>
        public int goodsSkuId { get; set; }
        /// <summary>
        /// 购买数量
        /// </summary>
        public int goodsNum { get; set; } = 1;

        public int userId { get; set; }
    }
}
